package com.ruoyi.cms.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 菜单/分类目录/标签对象 biz_wp_terms
 * 
 * @author lorry
 * @date 2020-12-06
 */
public class WpTerms extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long termId;

    /** 名称 */
    @Excel(name = "名称")
    private String name;

    /** 别名 */
    @Excel(name = "别名")
    private String slug;

    /**  */
    @Excel(name = "")
    private Integer termGroup;

    /** 类型：1分类，2菜单，3标签 */
    @Excel(name = "类型：1分类，2菜单，3标签")
    private Integer type;

    public void setTermId(Long termId) 
    {
        this.termId = termId;
    }

    public Long getTermId() 
    {
        return termId;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setSlug(String slug) 
    {
        this.slug = slug;
    }

    public String getSlug() 
    {
        return slug;
    }
    public void setTermGroup(Integer termGroup) 
    {
        this.termGroup = termGroup;
    }

    public Integer getTermGroup() 
    {
        return termGroup;
    }
    public void setType(Integer type) 
    {
        this.type = type;
    }

    public Integer getType() 
    {
        return type;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("termId", getTermId())
            .append("name", getName())
            .append("slug", getSlug())
            .append("termGroup", getTermGroup())
            .append("type", getType())
            .toString();
    }
}
